// token key
export const TOKEN_KEY = "TOKEN__"
// login id
export const LOGIN_ID_KEY = "LOGIN_ID__"

// 前一个工作空间的最后一次路由路径
export const LAST_ROUTE_PATH = "LAST_ROUTE_PATH"

export const LOCALE_KEY = "LOCALE__"

// user info key
export const USER_INFO_KEY = "USER__INFO__"

// role info key
export const ROLES_KEY = "ROLES__KEY__"

// dict info key
export const DB_DICT_DATA_KEY = "UI_CACHE_DB_DICT_DATA"

// project config key
export const PROJ_CFG_KEY = "PROJ__CFG__KEY__"

// lock info
export const LOCK_INFO_KEY = "LOCK__INFO__KEY__"

export const MULTIPLE_TABS_KEY = "MULTIPLE_TABS__KEY__"

export const APP_DARK_MODE_KEY_ = "__APP__DARK__MODE__"

// base global local key
export const APP_LOCAL_CACHE_KEY = "COMMON__LOCAL__KEY__"

// base global session key
export const APP_SESSION_CACHE_KEY = "COMMON__SESSION__KEY__"

// login info key
export const LOGIN_INFO_KEY = "LOGIN__INFO__"

export const TENANT_CONFIG_KEY = "TENANT_CONFIG_KEY_"
export const LAST_TENANT_ID = "LAST_TENANT_ID_KEY_"
export const TENANT_INIT_ERROR_KEY = "TENANT_INIT_ERROR_KEY"

export enum CacheTypeEnum {
  SESSION,
  LOCAL,
}
